<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="https://unpkg.com/@antv/g2plot@latest/dist/g2plot.min.js"></script>
</head>

<body>
    <div id="container" ></div>
    <script>
        let Funnel = G2Plot.Funnel;
        let funnel = new Funnel('container', {
            data: [
                { stage: '简历筛选', number: 253 },
                { stage: '初试人数', number: 151 },
                { stage: '复试人数', number: 113 },
                { stage: '录取人数', number: 87 },
                { stage: '入职人数', number: 59 },
            ],
            xField: 'stage',
            yField: 'number',
            legend: false,
        });
        funnel.render();
    </script>
</body>

</html>